package com.seres.backend.admin;

import java.util.ArrayList;
import java.util.List;

public class ScenarioBlock {
	private int moduleId;
	private int scenarioId;
	private List<String> descriptions;
	private List<String> imageNames;
	private String question;
	private String questionImageName;
	private List<AnswerLine> answerLines;
	
	public ScenarioBlock(){
		setDescriptions(new ArrayList<String>());
		setImageNames(new ArrayList<String>());
		setAnswerLines(new ArrayList<AnswerLine>());
		setQuestion("");
	}
	
	public ScenarioBlock(int moduleId, int scenarioId,
			List<String> descriptions, List<String> imageNames,
			String question, String questionImageName,
			List<AnswerLine> answerLines) {
		super();
		this.moduleId = moduleId;
		this.scenarioId = scenarioId;
		this.descriptions = descriptions;
		this.imageNames = imageNames;
		this.question = question;
		this.questionImageName = questionImageName;
		this.answerLines = answerLines;
	}

	public int getModuleId() {
		return moduleId;
	}

	public void setModuleId(int moduleId) {
		this.moduleId = moduleId;
	}

	public int getScenarioId() {
		return scenarioId;
	}

	public void setScenarioId(int scenarioId) {
		this.scenarioId = scenarioId;
	}

	public List<String> getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(List<String> descriptions) {
		this.descriptions = descriptions;
	}
	public void addDescription(String description){
		getDescriptions().add(description);
	}

	public List<String> getImageNames() {
		return imageNames;
	}

	public void setImageNames(List<String> imageNames) {
		this.imageNames = imageNames;
	}
	public void addImageName(String imageName){
		getImageNames().add(imageName);
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getQuestionImageName() {
		return questionImageName;
	}

	public void setQuestionImageName(String questionImageName) {
		this.questionImageName = questionImageName;
	}

	public List<AnswerLine> getAnswerLines() {
		return answerLines;
	}

	public void setAnswerLines(List<AnswerLine> answerLines) {
		this.answerLines = answerLines;
	}
	public void addAnswerLine(AnswerLine line){
		getAnswerLines().add(line);
	}
	
	
	
}
